package com.ruoyi.system.domain;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;


import java.util.Date;

/**
 * 单定义对象 form_define
 *
 * @author ruoyi
 * @date 2023-11-16
 */
@Data
@TableName(autoResultMap = true)
public class FormDefine
{
    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.AUTO)
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 字段描述 */
    @Excel(name = "字段描述")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private JSONObject formDesc;

    /** $column.columnComment */

    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    /** $column.columnComment */

    @TableField(fill = FieldFill.INSERT)
    private String createUserName;

    /** $column.columnComment */

    @TableField(fill = FieldFill.UPDATE)
    private Long updateUserId;

    /** $column.columnComment */

    @TableField(fill = FieldFill.UPDATE)
    private String updateUserName;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** $column.columnComment */

    @TableLogic
    private Integer isDelete;

    @TableField(typeHandler = JacksonTypeHandler.class)
    private JSONObject listSearchDefineDesc;



}
